//地址的公共部分
const env = import.meta.env.MODE || "prod"//拿不到默认线上环境
const EnvConfig = {
    development:{
        baseApi:"/api",
        mockApi:"https://apifoxmock.com/m1/4068509-0-default/api/",
    },
    //测试环境
    test: {
        baseApi: "//test.future.com/api",
        mockApi: "https://apifoxmock.com/m1/4068509-0-default/api/",
    },
    //线上环境
    prod: {
        baseApi: "//future.com/api",
        mockApi: "https://apifoxmock.com/m1/4068509-0-default/api/",
    }
}
export default {
    env,
    ...EnvConfig[env],
    //mock开关，关闭之后不拦截，链接真实的接口地址
    mock:false,
}